package model;

public class DataModel implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String label;
	private double value;

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public double getValue() {
		return value;
	}

	public void setValue(double value) {
		this.value = value;
	}

	public DataModel() {

	}

	public DataModel(String arg1, long arg2) {
		setLabel(arg1);
		setValue(arg2);
	}

	public DataModel(String arg1, int arg2) {
		setLabel(arg1);
		setValue(arg2);
	}

	public DataModel(String arg1, double arg2) {
		setLabel(arg1);
		setValue((long) arg2);
	}
}
